package com.lianxi;

import java.util.ArrayList;
import java.util.List;

public class FanXing {
    public static void main(String[] args) {
        List<Student> list = new ArrayList<Student>();
        Student student = new Student();
        Student student1 = new Student();
        list.add(student);
        list.add(student1);

        System.out.println(list.get(0).name);
    }
}
